home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 701-725 / 706 / abackup / abackupenglish.doc < prev    next >
Text File  |  1995-03-18  |  18KB  |  385 lines

  1.  
  2.                 ABackup - User's Manual
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   1. Foreword
  9.  
  10.       This manual describes release 1.31 of the  backup  utility  ABackup.
  11.   This program is freeware, and permission  is    granted  to  freely  copy  and
  12.   distribute it by all mediums, provided no charge or fee is ask for,  and  no
  13.   modification is done to this program. ABackup is copyright (c)1992 by  Denis
  14.   GOUNELLE, any commercial usage or selling of this program,  without  written
  15.   authorization, is ABSOLUTLY FORBIDDEN.
  16.       In spite of several tests, no  warranty  is  made  that  there's  no
  17.   errors in ABackup. YOU USE THIS PROGRAM AT YOUR OWN RISKS. In no event  will
  18.   I be liable for any damage, direct or indirect,  resulting  of  the  use  of
  19.   ABackup.
  20.  
  21.   2. Introduction
  22.  
  23.       ABackup is a backup utility written for the Amiga.  It  works  under
  24.   1.3 and 2.0 system releases, may be used both for hard disk backup  and  for
  25.   file archiving, and has a full Intuition interface. ABackup can also    handle
  26.   HD disks (some A3000 have a high density internal disk  drive  which  stores
  27.   1.76 Mb on HD disks).
  28.  
  29.       This program is SHAREWARE. If you find it useful,  please  send  $10
  30.   (cash or check in French Francs from an european bank only) at  the  address
  31.   below, to become a registered user. In return, you  will  receive  the  next
  32.   version of ABackup, as soon as it will be available  (along  with  a  better
  33.   translated doc I hope !).
  34.  
  35.       Critics and suggestions  will  always  be  welcomed.    Write  at  the
  36.   following address:
  37.  
  38.                    M. GOUNELLE Denis
  39.                     Boite 71
  40.                   6, rue des cailloux
  41.                  92110 CLICHY - FRANCE
  42.  
  43.       Thanks to Jean-Philippe RAPP for his numerous  suggestions  and  for
  44.   constant support, and to Michel SCHINZ (without him this program would still
  45.   be a project !) and Jean-Yves PROUX for their suggestions.
  46.       The  SendPacket()  function  is  inspired  of  the  source  file  of
  47.   "touch.c" by P. Lindsay and A. Finkel (copyright 1986 Commodore-Amiga Inc.).
  48.  
  49.   3. Getting started.
  50.  
  51.       ABackup can be run from  CLI    and  from  Workbench.  From  CLI,  the
  52.   command line syntax is:
  53.  
  54.               ABackup [-wbuf] [directory]
  55.  
  56.   The -w option can be used to increase buffer size, e.g. -w64 asks for  a  64
  57.   Kb buffer. Default buffer size is 4 Kb. The optional directory name  is  the
  58.   name of the directory to backup (default is current directory).
  59.  
  60.       From Workbench, you  can  modify  buffer  size  by  adding  a  ligne
  61.   "BUFSIZE=<size in Kb>" in the "TOOL TYPES" field of ABackup's icon.
  62.  
  63.       When program start, it opens a screen with three gadgets:  "Backup",
  64.   "Restore", and "Quit". Select the desired operation.
  65.  
  66.   4. The requesters.
  67.  
  68.       When using ABackup, you will often have  to  answer  to  requesters.
  69.   These requesters will have  one  or  two  gadgets  ("Ok",  "Continue/Abort",
  70.   "Yes/No"). Of course, you can answer by selecting a gadget, but you can also
  71.   press the  letter  corresponding  to    the  gadget  (e.g.:  "c"  or  "C"  for
  72.   "Continue"). Another possibility is to press  <RETURN>  for  the  "positive"
  73.   choice ("Ok",  "Continue",  "Yes")  and  <ESC>  for  the  "negative"  choice
  74.   ("Abort", "No"). When the requester asks you for a  disk  the  program  will
  75.   also test if you insert a disk in the good  disk  drive  and,  if  so,  will
  76.   assume you have answer "Continue".
  77.  
  78.   5. Backup.
  79.  
  80.       A directory requester appears, so  you  can  select  the  volume  or
  81.   directory to backup. If you click on "Abort", you will go back to main menu.
  82.   If you click on "Ok", ABackup will start  to  load  directory  contents.  To
  83.   abort directory loading, click on the "Abort" gadget or  press  one  of  the
  84.   following keys : "a", "A", <ESC>.
  85.  
  86.       Once loading is complete, the selection screen appears: it has a set
  87.   of gadgets and a lower window in which the files and sub-directories of  the
  88.   current directory are displayed. By default, no  file  or  sub-directory  is
  89.   selected for backup. Files are displayed in black over  a  grey  background,
  90.   and sub-directories in white over a grey  background.  You  can  scroll  the
  91.   display with the knob at the right of the screen. The name  of  the  current
  92.   directory is displayed in the "Directory" field. The number and the size  of
  93.   selected files are displayed in the "Selection" field.
  94.  
  95.       To select a file, just  press  left  mouse  button  when  the  mouse
  96.   pointer is over the file's name: the name  is  now  displayed  over  a  blue
  97.   background, and the "Selection" field is updated. If you  click  on  a  file
  98.   which is allready selected, it will be unselected.  To  select  or  unselect
  99.   several files, just move the mouse pointer while  holding  the  left    button
  100.   down. Last, to view a file, just double-click on its    name  (see  below  for
  101.   details).
  102.       When you select a directory, this directory will either be  selected
  103.   (just like a file) if it's empty, or you will go down in this directory: the
  104.   files list and the "Directory" field will be updated.  To  go  back  to  the
  105.   previous directory, select the "Parent" gadget (above the knob) or click  on
  106.   the invisible gadget between the screen's left border and the files list. To
  107.   go back to the initial directory, use the "Root" gadget (above the knob).
  108.  
  109.       On the selection screen, you will also find two  identical  rows  of
  110.   gadgets. This gadgets can be used to make a global selection (upper row)  or
  111.   unselection (lower row) of files:
  112.  
  113.   All
  114.       Selects or  unselects  all  files  and  sub-directories  of  current
  115.       directory.
  116.  
  117.   By name
  118.       Selects or unselects files and sub-directories by name or pattern. A
  119.       pattern is a string which contains one of the AmigaDOS  wildcards  :
  120.       '#' or '?' under 1.3  system  release,  '#',  '?',  '|',  '~',  '%',
  121.       parentheses or brackets under 2.04 system  release  (refer  to  your
  122.       AmigaDOS User's manual).
  123.       A requester appears so you can enter the    name  or  the  pattern    to
  124.       match. Click on the "==" gadget to select/unselect files that  match
  125.       this name, or on the "!=" gadget to select/unselect files that don't
  126.       match it. To abort, just close the window.
  127.  
  128.   By date
  129.       Selects or  unselects  files  and  sub-directory    by  date  of  last
  130.       modification. A requester appears so you can enter date and/or time.
  131.       The syntax for the date is DD-MM-YY or DD-MMM-YY    (e.g.:  "01-03-92"
  132.       or "01-Mar-92"). The syntax for the time is HH:MM:SS. Click  on  the
  133.       "<=" gadget to select/unselect files older than this date, or on the
  134.       ">=" gadget to select/unselect files newer than this  date.  If  you
  135.       enter only time, the date will be the current  date.  If    you  enter
  136.       only date date, time will be set to "23:59:59" if you click on  "<="
  137.       or to "00:00:00" if you click on ">=".  To  abort,  just  close  the
  138.       window.
  139.  
  140.   By bits
  141.       Selects or unselects files and sub-directory by protection  bits.  A
  142.       requester appears so you can enter the bits to  test  (see  AmigaDOS
  143.       command "protect"). Click on the  "= 1"  gadget  to  select/unselect
  144.       files with these bits set, or on the "= 0" gadget to select/unselect
  145.       files with these bits cleared. To abort, just close the window.
  146.  
  147.       At the right of  the    screen    you'll  see  two  other  gadgets.  The
  148.   "Reverse"  gadget  reverse  the  selection:  all   selected   files   become
  149.   unselected, and all unselected files become selected. The "Recursive" gadget
  150.   controls the action of "Reverse", "All", "By name", "By date", and "By bits"
  151.   gadgets : it tells if selection or unselection  will    affect    files  in  the
  152.   sub-directories of the current directory.
  153.  
  154.       The selection screen also has three menus. The "Selection" menu will
  155.   be described later. The "Size" menu  allows  you  to  select  the  unit  for
  156.   displaying the size of the selected files:  you  can    choose    between  bytes
  157.   (default), Kbytes, and Mbytes. The "Project" menu has the following items:
  158.  
  159.   Start
  160.       Starts the backup. If no file is selected,  an  error  message  will
  161.       appear. The backup processing will be described later.
  162.  
  163.   Options
  164.       Allows you to view/modify backup options:
  165.  
  166.       Compress
  167.       Files are compressed in order to  reduce  backup  size  (a  gain
  168.       between 30% to 50% can  be  expected).  Please  note    that  this
  169.       increase seriously backup time if your Amiga only has  a  68000.
  170.       Also note that ABackup won't try to compress file  with  ".lha",
  171.       ".lzh", ".zoo", ".arc", ".pp", or ".z" extensions, or with  size
  172.       lower than 512 bytes.
  173.  
  174.       Verify
  175.       Read and compare each track after  writing.  Usefull    only  when
  176.       backing up to floppies.
  177.  
  178.       Set archive bit
  179.       Once the backup operation is finish,    set  archive  bit  on  all
  180.       files and directories successfully backed up.
  181.  
  182.       Backup report
  183.       Asks for a backup report, either printed or written to a file.
  184.  
  185.       Backup to
  186.       Select archive to use.  If  the  name  is  "df0:",  "df1:",  ...
  187.       ABackup will use the    corresponding  floppy  drive,  writing    to
  188.       disks with it's own format (disks  don't  have  to  be  allready
  189.       formated). Else, an archive file will be  created.  Please  note
  190.       that ABackup is able to use any device  that    supports  AmigaDOS
  191.       Seek() function.
  192.  
  193.       At the bottom of the window, three gadgets allow you to validate the
  194.       changes, to validate and save the new  options,  or  to  cancel  the
  195.       changes. The options are saved in the "S:ABackup.Config"  file,  and
  196.       loaded each time the program start.
  197.  
  198.   Estimations
  199.       Gives an estimation of backup  time  and    of  the  number  of  disks
  200.       needed. The result depends of the size of  the  selected    files,    of
  201.       backup options, and of the processor inside your Amiga. It  may  not
  202.       be accurate if other tasks are running during  the  backup.  ABackup
  203.       always suppose that you backup a hard disk to floppies.
  204.  
  205.   About
  206.       Displays some informations about ABackup. Click inside  the  window,
  207.       close it, or press any key to continue.
  208.  
  209.   Abort
  210.       Allows you to cancel the backup. After  confirmation,  ABackup  will
  211.       return to main menu.
  212.  
  213.       To start backup, you must select the "Start" item of  the  "Project"
  214.   menu. If you asked for backup report to be written to a  file,  a  requester
  215.   will appear so you can select the report file. If you click on  the  "Abort"
  216.   gadget, no report will be produced.
  217.       A new screen appears, with several  informations  about  the    backup
  218.   processing. In the lower part of the screen is displayed  the  name  of  the
  219.   file currently processed. If an error occurs (and if possible), ABackup will
  220.   display a requester asking you if you want to continue. If you asked    for  a
  221.   backup to floppies, you can remove the last disk  as    soon  as  the  message
  222.   "Archive closed" will appear.
  223.       The  "* STOP *"  gadget  allows  you  to  stop  the  backup.   After
  224.   confirmation, ABackup will go back to the selection screen. The  "* PAUSE *"
  225.   gadget allows you to stop the backup for a while. Please note  that  ABackup
  226.   may sometimes not be able to answer immediatly, but will always check  these
  227.   gadgets before the next write operation.
  228.       Once the backup finished, ABackup will return to the main menu.
  229.  
  230.   6. Viewing
  231.  
  232.       From    the  selection    screen,  you  can  view  any  file   just   by
  233.   double-clicking on its name. A window appears, with several gadgets.
  234.       The three upper gadgets show the name of the viewer  for  each  file
  235.   type: ASCII file, IFF picture, or other file. You can modify    these  default
  236.   names. If you change the name of the viewer corresponding to    the  currently
  237.   selected file, this new value will be copied in the "Execute" gadget.
  238.       The "Execute" shows the name of the viewer to use for  the  selected
  239.   file. The file type is displayed above  (in  white).  You  can,  of  course,
  240.   modify the name of the program to use.
  241.       The three lower gadgets allow you to start viewing ("OK" gadget), to
  242.   save default names and start viewing ("SAVE" gadget), or to abort  operation
  243.   ("CANCEL" gadget).
  244.  
  245.   7. Restore
  246.  
  247.       A menu appears, so you can select the archive to restore from. Click
  248.   on the "Abort" gadget to return to main menu. Gadgets associated  with  disk
  249.   drives are automatically enabled or  disabled  depending  of    your  material
  250.   configuration. If you select one of those gadgets, ABackup will ask  you  to
  251.   insert the last disk of the backup disks in the corresponding disk drive. If
  252.   you click on the "From file" gadget, a file requester will appear so you can
  253.   select the archive file.
  254.  
  255.       Once the archive catalog loaded, the selection screen  will  appear.
  256.   Please refer to the previous section for a description of this  screen.  The
  257.   only differences are in the option window :
  258.  
  259.   At the same level
  260.       If set to "YES", all files will be restored in the  same  directory.
  261.       If set to "NO", directory tree will be restored too.
  262.  
  263.   Restore date
  264.       Tells if ABackup will set the date of restored file to the date they
  265.       had at backup time.
  266.  
  267.   Restore report
  268.       Asks for a restore report, either printed or written to a file.
  269.  
  270.   Restore empty dirs
  271.       Tells if ABackup will restore empty directory.
  272.  
  273.   Replace files
  274.       Controls ABackup behaviour when a file to restore  allready  exists.
  275.       Values are "Newer" (file not restored), "Yes" (file replaced), "Ask"
  276.       (ABackup will ask for confirmation for each file), "Older"  (replace
  277.       file only if older than the one in archive).
  278.  
  279.   Restore to
  280.       Directory to restore files. If no value  is  given,  files  will    be
  281.       restored in the directory they where.
  282.  
  283.       To start restore, you  must  select  the  "Start"  item  of  the
  284.   "Project" menu. If you asked for restore report to be written to a file,
  285.   a requester will appear so you can select the report file. If you  click
  286.   on the "Abort" gadget, no report will be produced.
  287.       A new  screen  appears,  with  several  informations    about  the
  288.   restore processing. In the lower part of the    screen    is  displayed  the
  289.   name of the file  currently  processed.  If  an  error  occurs  (and  if
  290.   possible), ABackup will display a requester asking you if  you  want    to
  291.   continue.
  292.       The "* STOP *" gadget allows you  to  stop  the  restore.  After
  293.   confirmation,  ABackup  will    go  back  to  the  selection  screen.  The
  294.   "* PAUSE *" gadget allows you to stop the restore for  a  while.  Please
  295.   note that ABackup may sometimes not be able to  answer  immediatly,  but
  296.   will always check these gadgets before the next read operation.
  297.       Once the restore finished, ABackup will return to the main menu.
  298.  
  299.   8. The "Selection" menu
  300.  
  301.       ABackup can record a selection of file  to  backup/restore,  and
  302.   load it later. These selections are stored in text files, as    a  set    of
  303.   commands. Default directory  for  these  files  is  "ABCK:"  (should  be
  304.   assigned to "S:ABackup" directory).
  305.       To  record  a  selection,  select  the  "Record"  item  of   the
  306.   "Selection" menu and  select  files  as  usual.  Please  note  that  the
  307.   "Project" menu disappears while you make your selection. When  you  have
  308.   finished, select the "Save" item of the "Selection" menu  to  save  this
  309.   selection. If you want to cancel the recording, select the "Abort"  item
  310.   of the "Selection" menu.
  311.       To load a selection, select the "Load" item of  the  "Selection"
  312.   menu. A file requester appears so you can choose the selection to  load.
  313.   If you click on the "Ok" gadget, this file is loaded and  the  selection
  314.   processed.
  315.  
  316.       Here is the  description  of    the  selection    language  used    by
  317.   ABackup, so you will be able to create or modify  a  selection  file    by
  318.   yourself.
  319.  
  320.       CD :                  go back to root directory
  321.       CD /                  go back to parent directory
  322.       CD "dir"                        go down in given directory
  323.       INVERT                  reverse selection
  324.       RESURS {YES|NO}              set recursivity flag
  325.       INCLUDE ALL              include all files
  326.       INCLUDE "name"                  include given file
  327.       INCLUDE NAME "name" {==|!=}     select by name
  328.       INCLUDE DATE "date" {<=|>=}     select by date
  329.       INCLUDE BITS "bits" {=0|=1}     select by protection bits
  330.       EXCLUDE ALL              exclude all files
  331.       EXCLUDE "name"                  exclude given file
  332.       EXCLUDE NAME "name" {==|!=}     exclude by name
  333.       EXCLUDE DATE "date" {<=|>=}     exclude by date
  334.       EXCLUDE BITS "bits" {=0|=1}     exclude by protection bits
  335.  
  336.   Here is an exemple of selection file:
  337.  
  338.       RECURS YES
  339.       ; go back to root
  340.       CD :
  341.       ; clear any selection
  342.       EXCLUDE ALL
  343.       ; include all files with archive bit cleared
  344.       INCLUDE BITS "a" =0
  345.       ; exclude all ".o" files
  346.       EXCLUDE NAME "#?.o" ==
  347.  
  348.       Empty lines and lines beginning with a semi-colon  are  ignored.
  349.   When you start to record a selection, ABackup always store the state    of
  350.   the recursivity flag: if you look at the  selection  files  you'll  find
  351.   that they all begin with a "RECURS" command. If you want to be  sure  to
  352.   clear any selection, be sure to start your selection by  going  back    to
  353.   root directory and excluding all files.
  354.  
  355.   9. A quick history
  356.  
  357.       This program has been created on an A3000 UNIX-1 station  (6  Mb
  358.   RAM, 100 Mb internal hard disk, 84 Mb external SyQuest cartridge  drive,
  359.   HD internal disk drive, 880  Kb  external  disk  drive,  1960  multiscan
  360.   monitor and Star LC24-10 printer) connected with a null-modem  cable    to
  361.   my old A500.
  362.       ABackup is almost fully written in C language, and compiled with
  363.   SAS/C 5.10b compiler. DPaint IV (Electronic Arts),  SID2  (Timm  Martin)
  364.   and DME (Matt Dillon) have also been used.
  365.  
  366.   12-Mar-92   Project beginning.
  367.   08-Jun-92   v1.00
  368.   20-Jun-92   v1.10
  369.           Handles HD disks, a few "esthetic" changes
  370.   28-Jun-92   v1.20
  371.           Saves/loads selection files.
  372.   01-Jul-92   v1.30
  373.           Double-click on a file starts a viewer, added  "Estimations"
  374.           menu item.
  375.   04-Jul-92   v1.31
  376.           Added "Restore date" option, auditive beep.
  377.  
  378.   To do:
  379.           o access from CLI and/or AREXX
  380.           o backup of non-AmigaDOS partitions (AMAX, ...)
  381.           o function to retrieve archive catalog (even  if  disks  are
  382.           missing)
  383.  
  384.  
  385.